<!-- 班次编辑弹窗 -->
<template>
  <ele-modal
    form
    width="95%"
    :model-value="modelValue"
    title="工资详情"
    @update:modelValue="updateModelValue"
  >
    <list :student-id="props.studentId" :search="false" />
  </ele-modal>
</template>

<script setup>
  import List from '@/views/report/job-salary/index.vue';

  const emit = defineEmits(['done', 'update:modelValue']);

  const props = defineProps({
    /** 弹窗是否打开 */
    modelValue: Boolean,

    studentId: Number
  });

  /** 更新modelValue */
  const updateModelValue = (value) => {
    emit('update:modelValue', value);
  };
</script>
